package com.kunchi.platform.repository;

import com.kunchi.platform.entity.project.ProjectConf;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by denniszhou on 2017/7/16.
 */
public interface ProjectConfRepository extends JpaRepository<ProjectConf, Long> {
    List<ProjectConf> findByProjectId(Long projectId);

    ProjectConf findByIdAndProjectId(Long id, Long projectId);
}
